/*
 *  liquidity/constraint.vala
 *
 *  Copyright (c) 2008 Patrick Walton <pcwalton@uchicago.edu>
 */

using GLib;
using Clutter;

namespace Liquidity {
    public class Constraint : Object {
        public ConstraintAttribute attr             { get; set; }
        public ActorModel relative_model            { get; set; }
        public ConstraintAttribute relative_attr    { get; set; }
        public uint scale                           { get; set; }
        public uint offset                          { get; set; }

        public Constraint(ConstraintAttribute in_attr, ActorModel
                in_relative_model, ConstraintAttribute in_relative_attr, uint
                in_scale, uint in_offset)
        {
            attr            = in_attr;
            relative_model  = in_relative_model;
            relative_attr   = in_relative_attr;
            scale           = in_scale;
            offset          = in_offset;
        }
    }
}

